Inside Macintosh: Imaging with QuickDraw

Previous | Chapter Top | Chapter Contents | Next

Exceptional Cases When Working With Color Devices

If your application always specifies colors in RGBColor records, Color QuickDraw automatically handles the colors on both indexed and direct devices. However, if your application does not specify colors in RGBColor records, your application may need to create and use special-purpose CGrafPort , PixMap , and GDevice records with the routines described in the chapter "Offscreen Graphics Worlds."

If your application must work with CGrafPort , PixMap , and GDevice records in ways beyond the scope of the routines described elsewhere in this book, the following guidelines may aid you in adapting Color QuickDraw to color graphics devices.


© 1997 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next